import request from '@/utils/request'
import qs from 'qs'
export const getOrders = function(name:string){
    // 增加一个get参数
    return request.get("/web/orders",{params:{name}})
}
// 定义统计接口
export const getOrders2 = function(){
    return request.get("/web/orders/ord")
 
}
export const login = function(data:object,config:any){
    return request.post("/member/index_login2.php",qs.stringify(data),config)
}